﻿/***********************************************************************
 *            Project: CoreCms
 *        ProjectName: 核心内容管理系统                                
 *                Web: https://www.corecms.net                      
 *             Author: 大灰灰                                          
 *              Email: jianweie@163.com                                
 *         CreateTime: 2021/1/31 21:45:10
 *        Description: 暂无
 ***********************************************************************/

using System;

namespace CoreShop.Model
{
    /// <summary>
    /// 桌台状态合计实体
    /// </summary>
    public class DeskStatusDto
    {
        /// <summary>
        ///     枚举的描述
        /// </summary>
        public int All { set; get; } = 0;

        /// <summary>
        ///     枚举名称
        /// </summary>
        public int Empty { set; get; } = 0;

        /// <summary>
        ///     待下单
        /// </summary>
        public int TobePlaced { set; get; } = 0;

        /// <summary>
        ///     待结账
        /// </summary>
        public int TobeSettled { set; get; } = 0;

        /// <summary>
        ///  待结账金额
        /// </summary>
        public decimal TobeSetAmount { set; get; } = 0;

        /// <summary>
        ///     已预结
        /// </summary>
        public int PreSettled { set; get; } = 0;

        /// <summary>
        ///  已结帐
        /// </summary>
        public int Settlement { set; get; } = 0;

        /// <summary>
        ///  已结帐金额
        /// </summary>
        public decimal SettlementAmount { set; get; } = 0;

        /// <summary>
        /// 开台率
        /// </summary>
        public string DeskOpenRate { set; get; }
    }

    /// <summary>
    /// 桌台状态合计实体
    /// </summary>
    public class DeskStatusList
    {
        /// <summary>
        ///     枚举的描述
        /// </summary>
        public Int64 deskId { set; get; } = 0;

        /// <summary>
        /// 订单状态(UTableItemInfo.TableStatus)
        /// </summary>
        public Int32 status { get; set; }

        /// <summary>
        /// 订单金额
        /// </summary>
        public decimal amount { get; set; }
    }

}